package cn.auto.utility;

import java.util.HashMap;

public class VerifyCode {
	
	private static HashMap<String, String> vc;

	public static String setVerifyCode(String phone) {
		String v_code="0000aa";
		String result=null;
		if (v_code.length()>0){
			result = Status.SUCCESS;
		}else{
			result=Status.FAILED;
		}
		return result;
		
	}
	
	public static boolean checkVerifyCode(String phone,String vCode) {
		String acCode=Utilities.getMapValueByKey(vc, phone);
		if (acCode.equals(vCode)){
			return true;
		}else{
			return false;
		}
	}
}
